package com.xcity.pomelo.response;

import com.xcity.game.activity.newplayer.NewPlayerTask;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.RESPONSE)
public class ActivityNewPlayerShopBuyResponse extends Response {
	public int activeIndex;
	public int buyCount;
	public int tabType;

	// TODO 购买成功
	public ActivityNewPlayerShopBuyResponse(int serial, NewPlayerTask task) {
		super(serial);
		this.activeIndex = task.getTemplate().getId();
		buyCount = task.getProgress()[0];
		tabType = task.getTemplate().getTab();
	}
}
